Which of the following best describes what the inner loop does each time?

Answer:

Print a row of 20 stars.

The inner loop does this each time the outer loop executes its loop body.

Slight Change in the Inner Loop

Here is the program again, this time with a slight change in the inner loop.

' Do the loop body ten times
FOR LINE = 1 TO 10
   
  ' Print NUM stars in a row
  LET  NUM = 13
  PRINT
  FOR STARS = 1 TO NUM
    PRINT "*";
  NEXT STARS
  
NEXT LINE
'
END

QUESTION 3:

Here are two possible outputs of the program. Which one is correct?

Choice A:                   Choice B:

*****                       *************
*****                       *************
*****                       *************
*****                       *************
*****                       *************
*****                       *************
*****                       *************
*****                       *************
*****                       *************